<center>
	<a href="index.php?section=coachcorner&player_id={{prev_player_id}}">[{{lang_prev}}]</a> &nbsp;|&nbsp; <a href="index.php?section=coachcorner&player_id={{next_player_id}}">[{{lang_next}}]</a>
</center>
<br>
<div class="row">
	<div class="pboxShort">
		<div class="boxTitle2">{{lang_about}}></div>
		<div class="boxBody">
			<table class="pbox">
				<tr>
					<td><b>{{lang_name}}</b></td>
                  	<td>{{name}} (#{{nr}})</td>
                </tr>
                <tr>
                  	<td><b>{{lang_pos}}</b></td>
                  	<td>{{position}}</td>
                </tr>
                <tr>
                    <td><b>{{lang_team}}</b></td>
                    <td><a href="index.php?section=coachcorner&team_id={{owned_by_team_id}}">{{team_name}}</a></td>
                </tr>
                <tr>
                    <td><b>{{lang_bought}}</b></td>
                    <td>{{date_bought}}</td>
                </tr>
                <tr>
                	<td><b>{{lang_status}}</b></td>
                    <td>
                        {{#status}}
                        	{{{status}}}
                        {{/status}}
                        {{^status}}
                        	<b><font color="green">Ready</font></b>
                        {{/status}}
                    </td>
                </tr>
                <tr>
                    <td><b>Value</b></td>
                    <td>{{value}}k</td>
                </tr>
                <tr>
                	<td><b>SPP/extra</b></td>
                    <td>{{spp}}/{{extra_spp}}</td>
                </tr>
                <tr>
                        <td><b>Wanted</b></td>
                        {{#isWanted}}<td><b><font color="red">Yes</font></b></td>{{/isWanted}}
                        {{^isWanted}}<td>No</td>{{/isWanted}}
                    </tr>
                    <tr>
                        <td><b>In HoF</b></td>
                        {{#isInHOF}}<td><b><font color="green">Yes</font></b></td>{{/isInHOF}}
                        {{^isInHOF}}<td>No</td>{{/isInHOF}}
                    </tr>
                    <tr>
                        <td><b>Won</b></td>
                        <td>{{won}} ({{row_won}} streaks)</td>
                    </tr>
                    <tr>
                        <td><b>Lost</b></td>
                        <td>{{lost}} ({{row_lost}})</td>
                    </tr>
                    <tr>
                        <td><b>Draw</b></td>
                        <td>{{draw}} ({{row_draw}})</td>
                    </tr>
                    <tr>
                        <td><b>Vis. stats</b></td>
                        <td><a href="handler.php?type=graph&gtype={{SG_T_PLAYER}}&id={{player_id}}"><b>View</b></a></td>
                    </tr>                    
                    <tr>
                        <td colspan="2"><hr></td>
                    </tr> 
                    <tr>
                        <td><b>Ma</b></td>
                        <td>{{ma}}</td>
                    </tr>
                    <tr>
                        <td><b>St</b></td>
                        <td>{{st}}</td>
                    </tr>
                    <tr>
                        <td><b>Ag</b></td>
                        <td>{{ag}}</td>
                    </tr>
                    <tr>
                        <td><b>Av</b></td>
                        <td>{{av}}</td>
                    </tr>
                    <tr>
                        <td><b>Skills</b></td>
                        {{#skills}}<td>{{skills}}</td>{{/skills}}
                        {{^skills}}<td><i>None</i></td>{{/skills}}
                    </tr>
                    <tr>
                        <td><b>Injuries</b></td>
                        {{#injs}}<td>{{injs}}</td>{{/injs}}
                        {{^injs}}<td><i>None</i></td>{{/injs}}
                       
                    </tr>
                    <tr>
                        <td><b>Cp</b></td>
                        <td>{{cp}}</td>
                    </tr>
                    <tr>
                        <td><b>Td</b></td>
                        <td>{{td}}</td>
                    </tr>
                    <tr>
                        <td><b>Int</b></td>
                        <td>{{intcpt}}</td>
                    </tr>
                    <tr>
                        <td><b>BH/SI/Ki</b></td>
                        <td>{{bh}}/{{si}}/{{ki}}</td>
                    </tr>
                    <tr>
                        <td><b>Cas</b></td>
                        <td>{{cas}}</td>
                    </tr>
                    <tr>
                        <td><b>MVP</b></td>
                        <td>{{mvp}}</td>
                    </tr>
                </table>
             
            </div>
        </div>
        <div class="pboxShort">
            <div class="boxTitle2">{{lang_profile}}</div>
            <div class="boxBody">
                <i>{{lang_pic}}</i><hr>
                {{{pic_box}}}
                {{!
                <?php
                pic_box($p->getPic(), $ALLOW_EDIT);
                ?>
                }}
                <br><br>
                <i>{{lang_pic}}</i><hr>
                {{#getText}}
                {{lang_nowrite}} {{name}}
                {{/getText}}
                {{#ALLOW_EDIT}}
                <form method="POST" enctype="multipart/form-data">
                	<textarea name='playertext' rows='8' cols='45'>{{txt}}</textarea>
                	<br>
                	<br>
                	<input type="hidden" name="type" value="playertext">
                	<input type="submit" name="Save" value="{{lang_save}}">
                </form>
                {{/ALLOW_EDIT}}
                {{^ALLOW_EDIT}}
                <p>{{txt}}</p>
                {{/ALLOW_EDIT}}
            </div>
        </div>
    </div>